package cn.tedu.spring.eg222;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TestCommentMapper {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context=new AnnotationConfigApplicationContext("cn.tedu.spring.eg222");
        CommentMapper commentMapper = context.getBean(CommentMapper.class);
        System.out.println("commentMapper="+commentMapper);
    }
}
